;;; code-reading-settings.el ---
;; -*- Emacs-Lisp -*-

;; Time-stamp: <2010-04-13 02:50:54 Tuesday by Mugua>

;; This  file is free  software; you  can redistribute  it and/or
;; modify it under the terms of the GNU General Public License as
;; published by  the Free Software Foundation;  either version 3,
;; or (at your option) any later version.

;; This file is  distributed in the hope that  it will be useful,
;; but WITHOUT ANY WARRANTY; without even the implied warranty of
;; MERCHANTABILITY or FITNESS FOR  A PARTICULAR PURPOSE.  See the
;; GNU General Public License for more details.

;; You  should have  received a  copy of  the GNU  General Public
;; License along with  GNU Emacs; see the file  COPYING.  If not,
;; write  to  the Free  Software  Foundation,  Inc., 51  Franklin
;; Street, Fifth Floor, Boston, MA 02110-1301, USA.


;;; Commentary:
;;
;; Edit by zuojg

;;; Code:

(require 'cedet)

;; 这个如果没有加的话,zjl-c-hl-aggressive会不加亮,而(手工执行里面的timer会,所以难以发现是这个的
(semantic-load-enable-minimum-features);

;; 要放在上面这一行的底下否则会导致auto-complete不行,可能上面的这一行会导致下面的semantic-ia失效
(require 'semantic-ia);

(setq semantic-load-turn-everything-on t)
(global-semantic-idle-scheduler-mode 1)
(setq semantic-c-obey-conditional-section-parsing-flag nil)

(require 'zjl-c-hl-aggressive)

(provide 'code-reading-settings)
